﻿@{
    ViewBag.Title = "Index";
}
<div class="fly-marginTop fly-user-main">

    @Html.Partial("_UserNav")

    <div class="fly-panel fly-panel-user" pad20>

        <div class="fly-msg" style="margin-top: 15px;">
            您的邮箱尚未验证，这比较影响您的帐号安全，<a href="">立即去激活？</a>
        </div>

        <div class="layui-tab layui-tab-brief" lay-filter="usercenter">
            <ul class="layui-tab-title" id="LAY_mine">
                <li lay-id="index" class="layui-this">我发的帖（<span>89</span>）</li>
                <li lay-id="favorite">我收藏的帖（<span>16</span>）</li>
            </ul>
            <div class="layui-tab-content" style="padding: 20px 0;">
                <div class="layui-tab-item layui-show">
                    <ul class="mine-view jie-row">
                        @{
                            for (int i = 0; i < 10; i++)
                            {
                                <li>
                                    <a class="jie-title" href="/Community/Discuss/Detail/@i" target="_blank">基于 layui 的极简社区页面模版</a>
                                    <i>2017/3/14 上午8:30:00</i>
                                    <a class="mine-edit" href="/jie/edit/8116">编辑</a>
                                    <em>661阅/10答</em>
                                </li>
                            }
                        }

                    </ul>
                    <div id="LAY_page"></div>
                </div>
                <div class="layui-tab-item">
                    <ul class="mine-view jie-row">
                        @{
                            for (int i = 0; i < 10; i++)
                            {
                                <li>
                                    <a class="jie-title" href="/Community/Discuss/Detail/@i" target="_blank">基于 layui 的极简社区页面模版</a>
                                    <i>收藏于23小时前</i>
                                </li>
                            }
                        }
                    </ul>
                    <div id="LAY_page1"></div>
                </div>
            </div>
        </div>
    </div>
</div>

@Html.Partial("_JavaScriptSrc")

<script>

    layui.cache.page = 'usercenter';
    layui.cache.user = {
        username: '游客',
        uid: -1,
        avatar: '/lib/fly/images/img.jpg',
        experience: 83,
        sex: '男'
    };
    layui.config({
        version: "3.0.0",
        base: '/lib/fly/mods/'
    }).extend({
        fly: 'index'
    }).use('fly');


</script>
